//
//  TopBar.h
//  SinaNews
//
//  Created by hroot on 15/8/13.
//  Copyright (c) 2015年 Lily. All rights reserved.
//

#import <UIKit/UIKit.h>
#define kTopbarHeight 35
typedef void(^ButtonClickHandler)(NSInteger currentPage);

@interface TopBar : UIScrollView
@property (nonatomic,strong) NSMutableArray *titles;
@property (nonatomic,assign) NSInteger currentPage;
@property (nonatomic,copy) ButtonClickHandler blockHandler;

@end
